import { http } from '/@/utils/request';
export function getUser() {
    return http.get('/api/get')
}
export function login(data: { username: string; password: string | number }) {
    return http.post('/api/login', { data })
}
export function getUserInfo() {
    return http.get('/api/userInfo')
}